package com.xuecheng.content.convert;

import com.xuecheng.content.entity.CourseBase;
import com.xuecheng.content.entity.CoursePub;
import org.mapstruct.Mapper;
import org.mapstruct.Mappings;
import org.mapstruct.factory.Mappers;

@Mapper
public interface CoursePubConver {

    CoursePubConver INSTANCE = Mappers.getMapper(CoursePubConver.class);

    CoursePub courseBase2coursePub(CourseBase courseBase);
}
